package com.atomscat.lottery.entity.db;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

@Setter
@Getter
@Entity(name = "t_role")
public class RoleEntity extends Auditable<UserEntity, Long> implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Column(length = 32)
    private String roleCode;

    @Column(length = 64)
    private String roleDescription;

    @Column(length = 2)
    private String roleType;
}
